﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AssignPower.aspx.cs" Inherits="Admin_Repair_AssignPower" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>50CMS后台框架</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet" />
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet" />
    <link href="../css/animate.css" rel="stylesheet" />
    <link href="../css/style.css?v=4.1.0" rel="stylesheet" />

    <link href="../50/style.css" rel="stylesheet" />
    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <script src="../Js/plugins/sweetalert/sweetalert.min.js"></script>
    <style type="text/css">
        input[type=checkbox],
        input[type=radio] {
            -webkit-appearance: none;
            appearance: none;
            width: 17px;
            height: 17px;
            margin: 0;
            cursor: pointer;
            vertical-align: middle;
            background: #fff;
            border: 1px solid #0e9aef;
            -webkit-border-radius: 1px;
            -moz-border-radius: 1px;
            border-radius: 1px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            position: relative;
        }

            input[type=checkbox]:active,
            input[type=radio]:active {
                border-color: #c6c6c6;
                background: #ebebeb;
            }

            input[type=checkbox]:hover {
                border: 2px solid #0e9aef;
                -webkit-box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
                -moz-box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
                box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
            }

            input[type=checkbox]:checked,
            input[type=radio]:checked {
                background: #fff;
            }

                input[type=checkbox]:checked::after {
                    content: url(http://jjdemo.kmjdcb.com/temple/img/checkmark.png);
                    display: block;
                    position: absolute;
                    top: -5px;
                    right: 0px;
                    left: -5px
                }

            input[type=checkbox]:focus {
                outline: none;
                border: 2px solid #0e9aef;
            }
    </style>
</head>
<body class="gray-bg">
    <form id="form1" runat="server" class="form-horizontal m-t">
        <div class="wrapper animated fadeInRight">
            <div class="row">
                <div class="col-sm-12">

                    <div class="ibox-content">
                        <div class="panel-body">
                            <div class="form-group">
                                <div class="col-sm-12" style="margin-top: 1em">
                                    <label class="col-sm-2 cintrol-label">商品名称：</label>
                                    <div class="col-sm-4">
                                        <asp:Label ID="ddrParent" runat="server"></asp:Label>
                                    </div>
                                </div>
                                <div class="col-sm-12" style="margin-top: 1em">
                                    <label class="col-sm-12 cintrol-label">售卖商品：</label>
                                    <asp:Literal ID="ltMasterSetting" runat="server"></asp:Literal>
                                </div>

                                <div class="form-group" style="margin-top: 2em">
                                    <div class="col-sm-8 col-sm-offset-3" style="margin-top: 2em">
                                        <asp:Button ID="Button1" runat="server" Text="确定" class="btn btn-primary" OnClick="Button1_Click" />
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>


    <!--全局JS-->
    <script src="../js/jQuery.min.js?v=2.1.4"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>

    <!--自定义js-->

    <script src="../50/function.js"></script>
    <script src="../js/layer/layer.js" type="text/javascript"></script>
    <script type="text/javascript">

        if (typeof (success) != "undefined") {

            swal({ title: "成功", type: "success", shoeConfirmButton: false, timer: 2000 },
                function () {
                    var index = parent.layer.getFrameIndex(window.name);//获取当前窗体索引
                    parent.layer.close(index);//执行关闭
                }
            );
        }
        function myclose() {
            var index = parent.layer.getFrameIndex(window.name);//获取当前索引
            parent.layer.close(index);//执行关闭

        }
    </script>
</body>
</html>
